Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -516,10 +516,10 @@ class CreateTransferConfigRequest(proto.Message):
https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var>
</pre>

- The client_id is the OAuth client_id of the data source
as returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.
- The client_id is the OAuth client_id of the data source as
returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.

Note that this should not be set when
``service_account_name`` is used to create the transfer
Expand All @@ -539,10 +539,10 @@ class CreateTransferConfigRequest(proto.Message):
https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var>
</pre>

- The client_id is the OAuth client_id of the data source
as returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.
- The client_id is the OAuth client_id of the data source as
returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.

Note that this should not be set when
``service_account_name`` is used to create the transfer
Expand Down Expand Up @@ -616,10 +616,10 @@ class UpdateTransferConfigRequest(proto.Message):
https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var>
</pre>

- The client_id is the OAuth client_id of the data source
as returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.
- The client_id is the OAuth client_id of the data source as
returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.

Note that this should not be set when
``service_account_name`` is used to update the transfer
Expand All @@ -642,10 +642,10 @@ class UpdateTransferConfigRequest(proto.Message):
https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var>
</pre>

- The client_id is the OAuth client_id of the data source
as returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.
- The client_id is the OAuth client_id of the data source as
returned by ListDataSources method.
- data_source_scopes are the scopes returned by
ListDataSources method.

Note that this should not be set when
``service_account_name`` is used to update the transfer
Expand Down
5 changes: 3 additions & 2 deletions packages/google-cloud-bigquery-datatransfer/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ def docs(session):
"-T", # show full traceback on exception
"-N", # no colors
"-b",
"html",
"html", # builder
"-d",
os.path.join("docs", "_build", "doctrees", ""),
os.path.join("docs", "_build", "doctrees", ""), # cache directory
# paths to build:
os.path.join("docs", ""),
os.path.join("docs", "_build", "html", ""),
)
Expand Down
5 changes: 3 additions & 2 deletions packages/google-cloud-bigquery-logging/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ def docs(session):
"-T", # show full traceback on exception
"-N", # no colors
"-b",
"html",
"html", # builder
"-d",
os.path.join("docs", "_build", "doctrees", ""),
os.path.join("docs", "_build", "doctrees", ""), # cache directory
# paths to build:
os.path.join("docs", ""),
os.path.join("docs", "_build", "html", ""),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class DatasetReference(proto.Message):
dataset_id (str):
A unique ID for this dataset, without the project name. The
ID must contain only letters (a-z, A-Z), numbers (0-9), or
underscores (_). The maximum length is 1,024 characters.
underscores (\_). The maximum length is 1,024 characters.
project_id (str):
The ID of the project containing this
dataset.
Expand Down
5 changes: 3 additions & 2 deletions packages/google-cloud-bigquery-migration/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ def docs(session):
"-T", # show full traceback on exception
"-N", # no colors
"-b",
"html",
"html", # builder
"-d",
os.path.join("docs", "_build", "doctrees", ""),
os.path.join("docs", "_build", "doctrees", ""), # cache directory
# paths to build:
os.path.join("docs", ""),
os.path.join("docs", "_build", "html", ""),
)
Expand Down
5 changes: 3 additions & 2 deletions packages/google-cloud-billing-budgets/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ def docs(session):
"-T", # show full traceback on exception
"-N", # no colors
"-b",
"html",
"html", # builder
"-d",
os.path.join("docs", "_build", "doctrees", ""),
os.path.join("docs", "_build", "doctrees", ""), # cache directory
# paths to build:
os.path.join("docs", ""),
os.path.join("docs", "_build", "html", ""),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ async def sample_get_billing_account():
google.cloud.billing_v1.types.BillingAccount:
A billing account in the
[Google Cloud
Console](\ https://console.cloud.google.com/). You
can assign a billing account to one or more projects.
Console](https://console.cloud.google.com/). You can
assign a billing account to one or more projects.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -461,10 +461,10 @@ async def sample_list_billing_accounts():
Optional. The parent resource to list billing accounts
from. Format:

- ``organizations/{organization_id}``, for example,
``organizations/12345678``
- ``billingAccounts/{billing_account_id}``, for
example, ``billingAccounts/012345-567890-ABCDEF``
- ``organizations/{organization_id}``, for example,
``organizations/12345678``
- ``billingAccounts/{billing_account_id}``, for example,
``billingAccounts/012345-567890-ABCDEF``

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -614,8 +614,8 @@ async def sample_update_billing_account():
google.cloud.billing_v1.types.BillingAccount:
A billing account in the
[Google Cloud
Console](\ https://console.cloud.google.com/). You
can assign a billing account to one or more projects.
Console](https://console.cloud.google.com/). You can
assign a billing account to one or more projects.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -739,8 +739,8 @@ async def sample_create_billing_account():
Optional. The parent to create a billing account from.
Format:

- ``billingAccounts/{billing_account_id}``, for
example, ``billingAccounts/012345-567890-ABCDEF``
- ``billingAccounts/{billing_account_id}``, for example,
``billingAccounts/012345-567890-ABCDEF``

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand All @@ -757,8 +757,8 @@ async def sample_create_billing_account():
google.cloud.billing_v1.types.BillingAccount:
A billing account in the
[Google Cloud
Console](\ https://console.cloud.google.com/). You
can assign a billing account to one or more projects.
Console](https://console.cloud.google.com/). You can
assign a billing account to one or more projects.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -1302,19 +1302,19 @@ async def sample_get_iam_policy():
constraints based on attributes of the request, the
resource, or both. To learn which resources support
conditions in their IAM policies, see the [IAM
documentation](\ https://cloud.google.com/iam/help/conditions/resource-policies).
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

**JSON example:**

:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`

**YAML example:**

:literal:`\` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`
:literal:`` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`

For a description of IAM and its features, see the
[IAM
documentation](\ https://cloud.google.com/iam/docs/).
documentation](https://cloud.google.com/iam/docs/).

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -1444,19 +1444,19 @@ async def sample_set_iam_policy():
constraints based on attributes of the request, the
resource, or both. To learn which resources support
conditions in their IAM policies, see the [IAM
documentation](\ https://cloud.google.com/iam/help/conditions/resource-policies).
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

**JSON example:**

:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`

**YAML example:**

:literal:`\` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`
:literal:`` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`

For a description of IAM and its features, see the
[IAM
documentation](\ https://cloud.google.com/iam/docs/).
documentation](https://cloud.google.com/iam/docs/).

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -1683,8 +1683,8 @@ async def sample_move_billing_account():
google.cloud.billing_v1.types.BillingAccount:
A billing account in the
[Google Cloud
Console](\ https://console.cloud.google.com/). You
can assign a billing account to one or more projects.
Console](https://console.cloud.google.com/). You can
assign a billing account to one or more projects.

"""
# Create or coerce a protobuf request object.
Expand Down
Loading
Loading