diff --git a/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1.ts b/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1.ts index c24ee986bc7..417c77aa342 100644 --- a/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1.ts +++ b/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1.ts @@ -280,9 +280,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -312,9 +313,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -359,9 +361,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -390,9 +393,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); client.close(); @@ -411,7 +415,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -440,7 +447,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -485,7 +495,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -511,7 +524,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); client.close(); @@ -531,7 +547,7 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -565,7 +581,7 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -620,7 +636,7 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -655,7 +671,7 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -735,10 +751,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -769,10 +785,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -825,10 +841,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -858,10 +874,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -934,9 +950,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -966,9 +983,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1020,9 +1038,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1051,9 +1070,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1126,7 +1146,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1156,7 +1179,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1208,7 +1234,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1237,7 +1266,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1310,9 +1342,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1343,9 +1376,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1397,9 +1431,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1428,9 +1463,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1506,7 +1542,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1536,7 +1575,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1588,7 +1630,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1617,7 +1662,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1690,9 +1738,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1723,9 +1772,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1777,9 +1827,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1808,9 +1859,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1886,9 +1938,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -1925,9 +1978,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -1980,9 +2034,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedError = new Error('expected'); @@ -2011,9 +2066,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -2071,9 +2127,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedError = new Error('expected'); @@ -2122,9 +2179,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -2171,9 +2229,10 @@ describe('v1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedError = new Error('expected'); diff --git a/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1beta1.ts b/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1beta1.ts index 46bcbcd1496..22d3d68d74d 100644 --- a/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1beta1.ts +++ b/packages/google-cloud-managedidentities/test/gapic_managed_identities_service_v1beta1.ts @@ -295,9 +295,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -329,9 +330,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -378,9 +380,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -411,9 +414,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest() ); - const defaultValue1 = getTypeDefaultValue('ResetAdminPasswordRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ResetAdminPasswordRequest', + ['name'] + ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); client.close(); @@ -434,7 +438,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -465,7 +472,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -512,7 +522,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -540,7 +553,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.GetDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('GetDomainRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.GetDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedError = new Error('The client has already been closed.'); client.close(); @@ -562,7 +578,7 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -598,7 +614,7 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -655,7 +671,7 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -692,7 +708,7 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest() ); const defaultValue1 = getTypeDefaultValue( - 'CreateMicrosoftAdDomainRequest', + '.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest', ['parent'] ); request.parent = defaultValue1; @@ -778,10 +794,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -814,10 +830,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -872,10 +888,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -907,10 +923,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { new protos.google.cloud.managedidentities.v1beta1.UpdateDomainRequest() ); request.domain ??= {}; - const defaultValue1 = getTypeDefaultValue('UpdateDomainRequest', [ - 'domain', - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.UpdateDomainRequest', + ['domain', 'name'] + ); request.domain.name = defaultValue1; const expectedHeaderRequestParams = `domain.name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -989,9 +1005,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1023,9 +1040,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1079,9 +1097,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1112,9 +1131,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DeleteDomainRequest() ); - const defaultValue1 = getTypeDefaultValue('DeleteDomainRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DeleteDomainRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1193,7 +1213,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1225,7 +1248,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1279,7 +1305,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1310,7 +1339,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.AttachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('AttachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.AttachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1389,9 +1421,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1424,9 +1457,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1480,9 +1514,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1513,9 +1548,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ReconfigureTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ReconfigureTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1597,7 +1633,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1629,7 +1668,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1683,7 +1725,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1714,7 +1759,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.DetachTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('DetachTrustRequest', ['name']); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.DetachTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1793,9 +1841,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1828,9 +1877,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedResponse = generateSampleMessage( @@ -1884,9 +1934,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -1917,9 +1968,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ValidateTrustRequest() ); - const defaultValue1 = getTypeDefaultValue('ValidateTrustRequest', [ - 'name', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ValidateTrustRequest', + ['name'] + ); request.name = defaultValue1; const expectedHeaderRequestParams = `name=${defaultValue1}`; const expectedError = new Error('expected'); @@ -2001,9 +2053,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -2042,9 +2095,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -2101,9 +2155,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedError = new Error('expected'); @@ -2134,9 +2189,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -2197,9 +2253,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedError = new Error('expected'); @@ -2251,9 +2308,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedResponse = [ @@ -2303,9 +2361,10 @@ describe('v1beta1.ManagedIdentitiesServiceClient', () => { const request = generateSampleMessage( new protos.google.cloud.managedidentities.v1beta1.ListDomainsRequest() ); - const defaultValue1 = getTypeDefaultValue('ListDomainsRequest', [ - 'parent', - ]); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.managedidentities.v1beta1.ListDomainsRequest', + ['parent'] + ); request.parent = defaultValue1; const expectedHeaderRequestParams = `parent=${defaultValue1}`; const expectedError = new Error('expected');