Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Oct 6, 2023
1 parent 788dc60 commit 1e9a43c
Show file tree
Hide file tree
Showing 28 changed files with 1,666 additions and 358 deletions.
10 changes: 9 additions & 1 deletion analyticsadmin/v1alpha/analyticsadmin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4298,7 +4298,7 @@
}
}
},
"revision": "20231003",
"revision": "20231004",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
Expand Down Expand Up @@ -7714,6 +7714,14 @@
},
"type": "array"
},
"expandGroups": {
"description": "Optional. Decides whether to return the users within user groups. This field works only when include_all_users is set to true. If true, it will return all users with access to the specified property or account. If false, only the users with direct access will be returned.",
"type": "boolean"
},
"includeAllUsers": {
"description": "Optional. Determines whether to include users who have never made an API call in the response. If true, all users with access to the specified property or account are included in the response, regardless of whether they have made an API call or not. If false, only the users who have made an API call will be included.",
"type": "boolean"
},
"limit": {
"description": "The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for. `limit` must be positive. The API may return fewer rows than the requested `limit`, if there aren't as many remaining rows as the `limit`. For instance, there are fewer than 300 possible values for the dimension `country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).",
"format": "int64",
Expand Down
14 changes: 14 additions & 0 deletions analyticsadmin/v1alpha/analyticsadmin-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion analyticsadmin/v1beta/analyticsadmin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@
}
}
},
"revision": "20231003",
"revision": "20231004",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1betaAccessBetweenFilter": {
Expand Down Expand Up @@ -3076,6 +3076,14 @@
},
"type": "array"
},
"expandGroups": {
"description": "Optional. Decides whether to return the users within user groups. This field works only when include_all_users is set to true. If true, it will return all users with access to the specified property or account. If false, only the users with direct access will be returned.",
"type": "boolean"
},
"includeAllUsers": {
"description": "Optional. Determines whether to include users who have never made an API call in the response. If true, all users with access to the specified property or account are included in the response, regardless of whether they have made an API call or not. If false, only the users who have made an API call will be included.",
"type": "boolean"
},
"limit": {
"description": "The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for. `limit` must be positive. The API may return fewer rows than the requested `limit`, if there aren't as many remaining rows as the `limit`. For instance, there are fewer than 300 possible values for the dimension `country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).",
"format": "int64",
Expand Down
14 changes: 14 additions & 0 deletions analyticsadmin/v1beta/analyticsadmin-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion chromepolicy/v1/chromepolicy-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@
}
}
},
"revision": "20231001",
"revision": "20231004",
"rootUrl": "https://chromepolicy.googleapis.com/",
"schemas": {
"GoogleChromePolicyVersionsV1AdditionalTargetKeyName": {
Expand Down Expand Up @@ -960,6 +960,13 @@
"Please stop using this policy. This policy is deprecated and may/will be removed in the future. Most likely a new policy was introduced to replace this one."
],
"type": "string"
},
"scheduledToDeprecatePolicies": {
"description": "Corresponding to deprecated_in_favor_of, the fully qualified namespace(s) of the old policies that will be deprecated because of introduction of this policy. This field should not be manually set but will be set and exposed through PolicyAPI automatically.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
Expand Down
7 changes: 7 additions & 0 deletions chromepolicy/v1/chromepolicy-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 17 additions & 3 deletions compute/v0.alpha/compute-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -43424,7 +43424,7 @@
}
}
},
"revision": "20230920",
"revision": "20230923",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AWSV4Signature": {
Expand Down Expand Up @@ -46171,7 +46171,7 @@
"type": "string"
},
"timeZone": {
"description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of UTC if left empty.",
"description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \"UTC\" if left empty.",
"type": "string"
}
},
Expand Down Expand Up @@ -66453,6 +66453,10 @@
"$ref": "PreservedState",
"description": "[Output Only] Preserved state generated based on stateful policy for this instance."
},
"propertiesFromFlexibilityPolicy": {
"$ref": "ManagedInstancePropertiesFromFlexibilityPolicy",
"description": "[Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy."
},
"tag": {
"deprecated": true,
"description": "[Output Only] Tag describing the version.",
Expand Down Expand Up @@ -66610,6 +66614,16 @@
},
"type": "object"
},
"ManagedInstancePropertiesFromFlexibilityPolicy": {
"id": "ManagedInstancePropertiesFromFlexibilityPolicy",
"properties": {
"machineType": {
"description": "The machine type to be used for this instance.",
"type": "string"
}
},
"type": "object"
},
"ManagedInstanceVersion": {
"id": "ManagedInstanceVersion",
"properties": {
Expand Down Expand Up @@ -89558,7 +89572,7 @@
"type": "object"
},
"TargetHttpProxy": {
"description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/alpha/targetHttpProxies) * [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.",
"description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/alpha/targetHttpProxies) * [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.",
"id": "TargetHttpProxy",
"properties": {
"creationTimestamp": {
Expand Down
35 changes: 33 additions & 2 deletions compute/v0.alpha/compute-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -5360,7 +5360,7 @@ type AutoscalingPolicyScalingSchedule struct {
// TimeZone: The time zone to use when interpreting the schedule. The
// value of this field must be a time zone name from the tz database:
// https://en.wikipedia.org/wiki/Tz_database. This field is assigned a
// default value of UTC if left empty.
// default value of "UTC" if left empty.
TimeZone string `json:"timeZone,omitempty"`

// ForceSendFields is a list of field names (e.g. "Description") to
Expand Down Expand Up @@ -34535,6 +34535,10 @@ type ManagedInstance struct {
// based on stateful policy for this instance.
PreservedStateFromPolicy *PreservedState `json:"preservedStateFromPolicy,omitempty"`

// PropertiesFromFlexibilityPolicy: [Output Only] Instance properties
// selected for this instance resulting from InstanceFlexibilityPolicy.
PropertiesFromFlexibilityPolicy *ManagedInstancePropertiesFromFlexibilityPolicy `json:"propertiesFromFlexibilityPolicy,omitempty"`

// Tag: [Output Only] Tag describing the version.
Tag string `json:"tag,omitempty"`

Expand Down Expand Up @@ -34837,6 +34841,33 @@ func (s *ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]by
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}

type ManagedInstancePropertiesFromFlexibilityPolicy struct {
// MachineType: The machine type to be used for this instance.
MachineType string `json:"machineType,omitempty"`

// ForceSendFields is a list of field names (e.g. "MachineType") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`

// NullFields is a list of field names (e.g. "MachineType") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}

func (s *ManagedInstancePropertiesFromFlexibilityPolicy) MarshalJSON() ([]byte, error) {
type NoMethod ManagedInstancePropertiesFromFlexibilityPolicy
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}

type ManagedInstanceVersion struct {
// InstanceTemplate: [Output Only] The intended template of the
// instance. This field is empty when current_action is one of {
Expand Down Expand Up @@ -66156,7 +66187,7 @@ func (s *TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) {
// Compute Engine has two Target HTTP Proxy resources: * Global
// (/compute/docs/reference/rest/alpha/targetHttpProxies) * Regional
// (/compute/docs/reference/rest/alpha/regionTargetHttpProxies) A target
// HTTP proxy is a component of GCP HTTP load balancers. *
// HTTP proxy is a component of Google Cloud HTTP load balancers. *
// targetHttpProxies are used by global external Application Load
// Balancers, classic Application Load Balancers, cross-region internal
// Application Load Balancers, and Traffic Director. *
Expand Down
22 changes: 19 additions & 3 deletions compute/v0.beta/compute-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -40049,7 +40049,7 @@
}
}
},
"revision": "20230920",
"revision": "20230923",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AWSV4Signature": {
Expand Down Expand Up @@ -42663,7 +42663,7 @@
"type": "string"
},
"timeZone": {
"description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of UTC if left empty.",
"description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \"UTC\" if left empty.",
"type": "string"
}
},
Expand Down Expand Up @@ -43208,6 +43208,22 @@
"format": "uint64",
"type": "string"
},
"ipAddressSelectionPolicy": {
"description": "Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). ",
"enum": [
"IPV4_ONLY",
"IPV6_ONLY",
"IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED",
"PREFER_IPV6"
],
"enumDescriptions": [
"Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting.",
"Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends.",
"Unspecified IP address selection policy.",
"Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address)."
],
"type": "string"
},
"kind": {
"default": "compute#backendService",
"description": "[Output Only] Type of resource. Always compute#backendService for backend services.",
Expand Down Expand Up @@ -80582,7 +80598,7 @@
"type": "object"
},
"TargetHttpProxy": {
"description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.",
"description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.",
"id": "TargetHttpProxy",
"properties": {
"creationTimestamp": {
Expand Down

0 comments on commit 1e9a43c

Please sign in to comment.