Skip to content

Commit d3c6970

Browse files
docs: [google-cloud-netapp] A comment for field active_directory_id in message .google.cloud.netapp.v1.CreateActiveDirectoryRequest is changed (#12963)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE docs: [google-cloud-netapp] A comment for field `active_directory_id` in message `.google.cloud.netapp.v1.CreateActiveDirectoryRequest` is changed docs: A comment for field `backup_id` in message `.google.cloud.netapp.v1.CreateBackupRequest` is changed docs: A comment for field `backup_policy_id` in message `.google.cloud.netapp.v1.CreateBackupPolicyRequest` is changed docs: A comment for field `backup_vault_id` in message `.google.cloud.netapp.v1.CreateBackupVaultRequest` is changed docs: A comment for field `kms_config_id` in message `.google.cloud.netapp.v1.CreateKmsConfigRequest` is changed docs: A comment for field `transfer_bytes` in message `.google.cloud.netapp.v1.TransferStats` is changed docs: A comment for field `total_transfer_duration` in message `.google.cloud.netapp.v1.TransferStats` is changed docs: A comment for enum value `TRANSFERRING` in enum `MirrorState` is changed docs: A comment for field `replication_id` in message `.google.cloud.netapp.v1.CreateReplicationRequest` is changed docs: A comment for field `snapshot_id` in message `.google.cloud.netapp.v1.CreateSnapshotRequest` is changed docs: A comment for field `storage_pool_id` in message `.google.cloud.netapp.v1.CreateStoragePoolRequest` is changed docs: A comment for field `volume_id` in message `.google.cloud.netapp.v1.CreateVolumeRequest` is changed feat: A new field `administrators` is added to message `.google.cloud.netapp.v1.ActiveDirectory` feat: A new field `replica_zone` is added to message `.google.cloud.netapp.v1.StoragePool` feat: A new field `zone` is added to message `.google.cloud.netapp.v1.StoragePool` feat: A new field `large_capacity` is added to message `.google.cloud.netapp.v1.Volume` feat: A new field `multiple_endpoints` is added to message `.google.cloud.netapp.v1.Volume` feat: A new field `replica_zone` is added to message `.google.cloud.netapp.v1.Volume` feat: A new field `zone` is added to message `.google.cloud.netapp.v1.Volume` END_COMMIT_OVERRIDE PiperOrigin-RevId: 657674866 Source-Link: googleapis/googleapis@adcf14f Source-Link: googleapis/googleapis-gen@ae931aa Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiYWU5MzFhYWQyZDIzNGZlY2VhZTlmYmRlOGZmZDZmOWM1NWU3ZmUyZCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 871cd07 commit d3c6970

File tree

15 files changed

+304
-112
lines changed

15 files changed

+304
-112
lines changed

packages/google-cloud-netapp/google/cloud/netapp/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.3.12" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-netapp/google/cloud/netapp_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.3.12" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-netapp/google/cloud/netapp_v1/services/net_app/async_client.py

Lines changed: 64 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,14 @@ async def sample_create_storage_pool():
478478
on the ``request`` instance; if ``request`` is provided, this
479479
should not be set.
480480
storage_pool_id (:class:`str`):
481-
Required. Id of the requesting storage pool If
482-
auto-generating Id server-side, remove this field and id
483-
from the method_signature of Create RPC
481+
Required. Id of the requesting
482+
storage pool. Must be unique within the
483+
parent resource. Must contain only
484+
letters, numbers, underscore and hyphen,
485+
with the first character a letter or
486+
underscore, the last a letter or
487+
underscore or a number, and a 63
488+
character maximum.
484489
485490
This corresponds to the ``storage_pool_id`` field
486491
on the ``request`` instance; if ``request`` is provided, this
@@ -1228,9 +1233,13 @@ async def sample_create_volume():
12281233
on the ``request`` instance; if ``request`` is provided, this
12291234
should not be set.
12301235
volume_id (:class:`str`):
1231-
Required. Id of the requesting volume If auto-generating
1232-
Id server-side, remove this field and Id from the
1233-
method_signature of Create RPC
1236+
Required. Id of the requesting
1237+
volume. Must be unique within the parent
1238+
resource. Must contain only letters,
1239+
numbers, underscore and hyphen, with the
1240+
first character a letter or underscore,
1241+
the last a letter or underscore or a
1242+
number, and a 63 character maximum.
12341243
12351244
This corresponds to the ``volume_id`` field
12361245
on the ``request`` instance; if ``request`` is provided, this
@@ -1965,10 +1974,12 @@ async def sample_create_snapshot():
19651974
should not be set.
19661975
snapshot_id (:class:`str`):
19671976
Required. ID of the snapshot to
1968-
create. This value must start with a
1969-
lowercase letter followed by up to 62
1970-
lowercase letters, numbers, or hyphens,
1971-
and cannot end with a hyphen.
1977+
create. Must be unique within the parent
1978+
resource. Must contain only letters,
1979+
numbers, underscore and hyphen, with the
1980+
first character a letter or underscore,
1981+
the last a letter or underscore or a
1982+
number, and a 63 character maximum.
19721983
19731984
This corresponds to the ``snapshot_id`` field
19741985
on the ``request`` instance; if ``request`` is provided, this
@@ -2611,7 +2622,13 @@ async def sample_create_active_directory():
26112622
should not be set.
26122623
active_directory_id (:class:`str`):
26132624
Required. ID of the active directory
2614-
to create.
2625+
to create. Must be unique within the
2626+
parent resource. Must contain only
2627+
letters, numbers, underscore and hyphen,
2628+
with the first character a letter or
2629+
underscore, the last a letter or
2630+
underscore or a number, and a 63
2631+
character maximum.
26152632
26162633
This corresponds to the ``active_directory_id`` field
26172634
on the ``request`` instance; if ``request`` is provided, this
@@ -3151,9 +3168,14 @@ async def sample_create_kms_config():
31513168
on the ``request`` instance; if ``request`` is provided, this
31523169
should not be set.
31533170
kms_config_id (:class:`str`):
3154-
Required. Id of the requesting KmsConfig If
3155-
auto-generating Id server-side, remove this field and id
3156-
from the method_signature of Create RPC
3171+
Required. Id of the requesting
3172+
KmsConfig. Must be unique within the
3173+
parent resource. Must contain only
3174+
letters, numbers, underscore and hyphen,
3175+
with the first character a letter or
3176+
underscore, the last a letter or
3177+
underscore or a number, and a 63
3178+
character maximum.
31573179
31583180
This corresponds to the ``kms_config_id`` field
31593181
on the ``request`` instance; if ``request`` is provided, this
@@ -4087,10 +4109,12 @@ async def sample_create_replication():
40874109
should not be set.
40884110
replication_id (:class:`str`):
40894111
Required. ID of the replication to
4090-
create. This value must start with a
4091-
lowercase letter followed by up to 62
4092-
lowercase letters, numbers, or hyphens,
4093-
and cannot end with a hyphen.
4112+
create. Must be unique within the parent
4113+
resource. Must contain only letters,
4114+
numbers, underscore and hyphen, with the
4115+
first character a letter or underscore,
4116+
the last a letter or underscore or a
4117+
number, and a 63 character maximum.
40944118
40954119
This corresponds to the ``replication_id`` field
40964120
on the ``request`` instance; if ``request`` is provided, this
@@ -4799,13 +4823,14 @@ async def sample_create_backup_vault():
47994823
on the ``request`` instance; if ``request`` is provided, this
48004824
should not be set.
48014825
backup_vault_id (:class:`str`):
4802-
Required. The ID to use for the backupVault. The ID must
4803-
be unique within the specified location. The max
4804-
supported length is 63 characters. This value must start
4805-
with a lowercase letter followed by up to 62 lowercase
4806-
letters, numbers, or hyphens, and cannot end with a
4807-
hyphen. Values that do not match this pattern will
4808-
trigger an INVALID_ARGUMENT error.
4826+
Required. The ID to use for the
4827+
backupVault. The ID must be unique
4828+
within the specified location. Must
4829+
contain only letters, numbers,
4830+
underscore and hyphen, with the first
4831+
character a letter or underscore, the
4832+
last a letter or underscore or a number,
4833+
and a 63 character maximum.
48094834
48104835
This corresponds to the ``backup_vault_id`` field
48114836
on the ``request`` instance; if ``request`` is provided, this
@@ -5442,12 +5467,14 @@ async def sample_create_backup():
54425467
on the ``request`` instance; if ``request`` is provided, this
54435468
should not be set.
54445469
backup_id (:class:`str`):
5445-
Required. The ID to use for the backup. The ID must be
5446-
unique within the specified backupVault. This value must
5447-
start with a lowercase letter followed by up to 62
5448-
lowercase letters, numbers, or hyphens, and cannot end
5449-
with a hyphen. Values that do not match this pattern
5450-
will trigger an INVALID_ARGUMENT error.
5470+
Required. The ID to use for the
5471+
backup. The ID must be unique within the
5472+
specified backupVault. Must contain only
5473+
letters, numbers, underscore and hyphen,
5474+
with the first character a letter or
5475+
underscore, the last a letter or
5476+
underscore or a number, and a 63
5477+
character maximum.
54515478
54525479
This corresponds to the ``backup_id`` field
54535480
on the ``request`` instance; if ``request`` is provided, this
@@ -6086,11 +6113,12 @@ async def sample_create_backup_policy():
60866113
backup_policy_id (:class:`str`):
60876114
Required. The ID to use for the
60886115
backup policy. The ID must be unique
6089-
within the specified location. This
6090-
value must start with a lowercase letter
6091-
followed by up to 62 lowercase letters,
6092-
numbers, or hyphens, and cannot end with
6093-
a hyphen.
6116+
within the specified location. Must
6117+
contain only letters, numbers,
6118+
underscore and hyphen, with the first
6119+
character a letter or underscore, the
6120+
last a letter or underscore or a number,
6121+
and a 63 character maximum.
60946122
60956123
This corresponds to the ``backup_policy_id`` field
60966124
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-netapp/google/cloud/netapp_v1/services/net_app/client.py

Lines changed: 64 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,9 +1083,14 @@ def sample_create_storage_pool():
10831083
on the ``request`` instance; if ``request`` is provided, this
10841084
should not be set.
10851085
storage_pool_id (str):
1086-
Required. Id of the requesting storage pool If
1087-
auto-generating Id server-side, remove this field and id
1088-
from the method_signature of Create RPC
1086+
Required. Id of the requesting
1087+
storage pool. Must be unique within the
1088+
parent resource. Must contain only
1089+
letters, numbers, underscore and hyphen,
1090+
with the first character a letter or
1091+
underscore, the last a letter or
1092+
underscore or a number, and a 63
1093+
character maximum.
10891094
10901095
This corresponds to the ``storage_pool_id`` field
10911096
on the ``request`` instance; if ``request`` is provided, this
@@ -1815,9 +1820,13 @@ def sample_create_volume():
18151820
on the ``request`` instance; if ``request`` is provided, this
18161821
should not be set.
18171822
volume_id (str):
1818-
Required. Id of the requesting volume If auto-generating
1819-
Id server-side, remove this field and Id from the
1820-
method_signature of Create RPC
1823+
Required. Id of the requesting
1824+
volume. Must be unique within the parent
1825+
resource. Must contain only letters,
1826+
numbers, underscore and hyphen, with the
1827+
first character a letter or underscore,
1828+
the last a letter or underscore or a
1829+
number, and a 63 character maximum.
18211830
18221831
This corresponds to the ``volume_id`` field
18231832
on the ``request`` instance; if ``request`` is provided, this
@@ -2535,10 +2544,12 @@ def sample_create_snapshot():
25352544
should not be set.
25362545
snapshot_id (str):
25372546
Required. ID of the snapshot to
2538-
create. This value must start with a
2539-
lowercase letter followed by up to 62
2540-
lowercase letters, numbers, or hyphens,
2541-
and cannot end with a hyphen.
2547+
create. Must be unique within the parent
2548+
resource. Must contain only letters,
2549+
numbers, underscore and hyphen, with the
2550+
first character a letter or underscore,
2551+
the last a letter or underscore or a
2552+
number, and a 63 character maximum.
25422553
25432554
This corresponds to the ``snapshot_id`` field
25442555
on the ``request`` instance; if ``request`` is provided, this
@@ -3166,7 +3177,13 @@ def sample_create_active_directory():
31663177
should not be set.
31673178
active_directory_id (str):
31683179
Required. ID of the active directory
3169-
to create.
3180+
to create. Must be unique within the
3181+
parent resource. Must contain only
3182+
letters, numbers, underscore and hyphen,
3183+
with the first character a letter or
3184+
underscore, the last a letter or
3185+
underscore or a number, and a 63
3186+
character maximum.
31703187
31713188
This corresponds to the ``active_directory_id`` field
31723189
on the ``request`` instance; if ``request`` is provided, this
@@ -3694,9 +3711,14 @@ def sample_create_kms_config():
36943711
on the ``request`` instance; if ``request`` is provided, this
36953712
should not be set.
36963713
kms_config_id (str):
3697-
Required. Id of the requesting KmsConfig If
3698-
auto-generating Id server-side, remove this field and id
3699-
from the method_signature of Create RPC
3714+
Required. Id of the requesting
3715+
KmsConfig. Must be unique within the
3716+
parent resource. Must contain only
3717+
letters, numbers, underscore and hyphen,
3718+
with the first character a letter or
3719+
underscore, the last a letter or
3720+
underscore or a number, and a 63
3721+
character maximum.
37003722
37013723
This corresponds to the ``kms_config_id`` field
37023724
on the ``request`` instance; if ``request`` is provided, this
@@ -4608,10 +4630,12 @@ def sample_create_replication():
46084630
should not be set.
46094631
replication_id (str):
46104632
Required. ID of the replication to
4611-
create. This value must start with a
4612-
lowercase letter followed by up to 62
4613-
lowercase letters, numbers, or hyphens,
4614-
and cannot end with a hyphen.
4633+
create. Must be unique within the parent
4634+
resource. Must contain only letters,
4635+
numbers, underscore and hyphen, with the
4636+
first character a letter or underscore,
4637+
the last a letter or underscore or a
4638+
number, and a 63 character maximum.
46154639
46164640
This corresponds to the ``replication_id`` field
46174641
on the ``request`` instance; if ``request`` is provided, this
@@ -5307,13 +5331,14 @@ def sample_create_backup_vault():
53075331
on the ``request`` instance; if ``request`` is provided, this
53085332
should not be set.
53095333
backup_vault_id (str):
5310-
Required. The ID to use for the backupVault. The ID must
5311-
be unique within the specified location. The max
5312-
supported length is 63 characters. This value must start
5313-
with a lowercase letter followed by up to 62 lowercase
5314-
letters, numbers, or hyphens, and cannot end with a
5315-
hyphen. Values that do not match this pattern will
5316-
trigger an INVALID_ARGUMENT error.
5334+
Required. The ID to use for the
5335+
backupVault. The ID must be unique
5336+
within the specified location. Must
5337+
contain only letters, numbers,
5338+
underscore and hyphen, with the first
5339+
character a letter or underscore, the
5340+
last a letter or underscore or a number,
5341+
and a 63 character maximum.
53175342
53185343
This corresponds to the ``backup_vault_id`` field
53195344
on the ``request`` instance; if ``request`` is provided, this
@@ -5935,12 +5960,14 @@ def sample_create_backup():
59355960
on the ``request`` instance; if ``request`` is provided, this
59365961
should not be set.
59375962
backup_id (str):
5938-
Required. The ID to use for the backup. The ID must be
5939-
unique within the specified backupVault. This value must
5940-
start with a lowercase letter followed by up to 62
5941-
lowercase letters, numbers, or hyphens, and cannot end
5942-
with a hyphen. Values that do not match this pattern
5943-
will trigger an INVALID_ARGUMENT error.
5963+
Required. The ID to use for the
5964+
backup. The ID must be unique within the
5965+
specified backupVault. Must contain only
5966+
letters, numbers, underscore and hyphen,
5967+
with the first character a letter or
5968+
underscore, the last a letter or
5969+
underscore or a number, and a 63
5970+
character maximum.
59445971
59455972
This corresponds to the ``backup_id`` field
59465973
on the ``request`` instance; if ``request`` is provided, this
@@ -6564,11 +6591,12 @@ def sample_create_backup_policy():
65646591
backup_policy_id (str):
65656592
Required. The ID to use for the
65666593
backup policy. The ID must be unique
6567-
within the specified location. This
6568-
value must start with a lowercase letter
6569-
followed by up to 62 lowercase letters,
6570-
numbers, or hyphens, and cannot end with
6571-
a hyphen.
6594+
within the specified location. Must
6595+
contain only letters, numbers,
6596+
underscore and hyphen, with the first
6597+
character a letter or underscore, the
6598+
last a letter or underscore or a number,
6599+
and a 63 character maximum.
65726600
65736601
This corresponds to the ``backup_policy_id`` field
65746602
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-netapp/google/cloud/netapp_v1/types/active_directory.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,12 @@ class CreateActiveDirectoryRequest(proto.Message):
137137
directory.
138138
active_directory_id (str):
139139
Required. ID of the active directory to
140-
create.
140+
create. Must be unique within the parent
141+
resource. Must contain only letters, numbers,
142+
underscore and hyphen, with the first character
143+
a letter or underscore, the last a letter or
144+
underscore or a number, and a 63 character
145+
maximum.
141146
"""
142147

143148
parent: str = proto.Field(
@@ -238,6 +243,9 @@ class ActiveDirectory(proto.Message):
238243
backup_operators (MutableSequence[str]):
239244
Optional. Users to be added to the Built-in
240245
Backup Operator active directory group.
246+
administrators (MutableSequence[str]):
247+
Optional. Users to be added to the Built-in
248+
Admininstrators group.
241249
security_operators (MutableSequence[str]):
242250
Optional. Domain users to be given the
243251
SeSecurityPrivilege.
@@ -344,6 +352,10 @@ class State(proto.Enum):
344352
proto.STRING,
345353
number=12,
346354
)
355+
administrators: MutableSequence[str] = proto.RepeatedField(
356+
proto.STRING,
357+
number=22,
358+
)
347359
security_operators: MutableSequence[str] = proto.RepeatedField(
348360
proto.STRING,
349361
number=13,

packages/google-cloud-netapp/google/cloud/netapp_v1/types/backup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,13 @@ class CreateBackupRequest(proto.Message):
288288
in the format
289289
``projects/*/locations/*/backupVaults/{backup_vault_id}``
290290
backup_id (str):
291-
Required. The ID to use for the backup. The ID must be
292-
unique within the specified backupVault. This value must
293-
start with a lowercase letter followed by up to 62 lowercase
294-
letters, numbers, or hyphens, and cannot end with a hyphen.
295-
Values that do not match this pattern will trigger an
296-
INVALID_ARGUMENT error.
291+
Required. The ID to use for the backup.
292+
The ID must be unique within the specified
293+
backupVault. Must contain only letters, numbers,
294+
underscore and hyphen, with the first character
295+
a letter or underscore, the last a letter or
296+
underscore or a number, and a 63 character
297+
maximum.
297298
backup (google.cloud.netapp_v1.types.Backup):
298299
Required. A backup resource
299300
"""

0 commit comments

Comments
 (0)