Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
fix(managedidentities): add ancillary service bindings to service_yaml (
Browse files Browse the repository at this point in the history
#105)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 421098407

Source-Link: googleapis/googleapis@a635f71

Source-Link: https://github.com/googleapis/googleapis-gen/commit/56c652b78bbea0a8119c3498522b717bf9dbe9be
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTZjNjUyYjc4YmJlYTBhODExOWMzNDk4NTIyYjcxN2JmOWRiZTliZSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jan 12, 2022
1 parent b9a7f49 commit 77c1911
Show file tree
Hide file tree
Showing 23 changed files with 49 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, trust) {
Expand All @@ -30,8 +31,7 @@ function main(name, trust) {
// const trust = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, domainName, domain) {
Expand Down Expand Up @@ -44,8 +45,7 @@ function main(parent, domainName, domain) {
// const domain = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand All @@ -59,9 +59,7 @@ function main(parent, domainName, domain) {
};

// Run request
const [operation] = await managedidentitiesClient.createMicrosoftAdDomain(
request
);
const [operation] = await managedidentitiesClient.createMicrosoftAdDomain(request);
const [response] = await operation.promise();
console.log(response);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, trust) {
Expand All @@ -30,8 +31,7 @@ function main(name, trust) {
// const trust = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/managed_identities_service.get_domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -29,7 +30,7 @@ function main(parent) {
* If not specified, a default value of 1000 will be used.
* Regardless of the page_size value, the response may include a partial list.
* Callers should rely on a response's
* next_page_token google.cloud.managedidentities.v1.ListDomainsResponse.next_page_token
* next_page_token google.cloud.managedidentities.v1.ListDomainsResponse.next_page_token
* to determine if there are additional results to list.
*/
// const pageSize = 1234
Expand All @@ -52,8 +53,7 @@ function main(parent) {
// const orderBy = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand All @@ -67,7 +67,7 @@ function main(parent) {
// Run request
const iterable = await managedidentitiesClient.listDomainsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, targetDomainName, targetDnsIpAddresses) {
Expand All @@ -36,8 +37,7 @@ function main(name, targetDomainName, targetDnsIpAddresses) {
// const targetDnsIpAddresses = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(updateMask, domain) {
Expand All @@ -35,8 +36,7 @@ function main(updateMask, domain) {
// const domain = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, trust) {
Expand All @@ -30,8 +31,7 @@ function main(name, trust) {
// const trust = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, trust) {
Expand All @@ -30,8 +31,7 @@ function main(name, trust) {
// const trust = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, domainName, domain) {
Expand Down Expand Up @@ -43,8 +44,7 @@ function main(parent, domainName, domain) {
// const domain = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand All @@ -58,9 +58,7 @@ function main(parent, domainName, domain) {
};

// Run request
const [operation] = await managedidentitiesClient.createMicrosoftAdDomain(
request
);
const [operation] = await managedidentitiesClient.createMicrosoftAdDomain(request);
const [response] = await operation.promise();
console.log(response);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, trust) {
Expand All @@ -30,8 +31,7 @@ function main(name, trust) {
// const trust = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -29,7 +30,7 @@ function main(parent) {
* If not specified, a default value of 1000 will be used.
* Regardless of the page_size value, the response may include a partial list.
* Callers should rely on a response's
* next_page_token google.cloud.managedidentities.v1beta1.ListDomainsResponse.next_page_token
* next_page_token google.cloud.managedidentities.v1beta1.ListDomainsResponse.next_page_token
* to determine if there are additional results to list.
*/
// const pageSize = 1234
Expand All @@ -52,8 +53,7 @@ function main(parent) {
// const orderBy = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand All @@ -67,7 +67,7 @@ function main(parent) {
// Run request
const iterable = await managedidentitiesClient.listDomainsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name, targetDomainName, targetDnsIpAddresses) {
Expand All @@ -36,8 +37,7 @@ function main(name, targetDomainName, targetDnsIpAddresses) {
// const targetDnsIpAddresses = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(updateMask, domain) {
Expand All @@ -36,8 +37,7 @@ function main(updateMask, domain) {
// const domain = {}

// Imports the Managedidentities library
const {ManagedIdentitiesServiceClient} =
require('@google-cloud/managed-identities').v1beta1;
const {ManagedIdentitiesServiceClient} = require('@google-cloud/managed-identities').v1beta1;

// Instantiates a client
const managedidentitiesClient = new ManagedIdentitiesServiceClient();
Expand Down
Loading

0 comments on commit 77c1911

Please sign in to comment.